home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0919.dms / q0919.adf / man / Read < prev    next >
Text File  |  1997-04-10  |  1KB  |  42 lines

  1.  
  2.  
  3.  
  4.             Read(V1.3 only)
  5.  
  6.  
  7.  
  8.      NAME
  9.             Read - Read input and parse.
  10.  
  11.      SYNOPSIS
  12.             Read Variables/...
  13.  
  14.      DESCRIPTION
  15.             Read accepts input from its standard input.  It takes 
  16.         as arguments a list of one or more environment variables 
  17.         into which it will place the parsed input.
  18.  
  19.             Read chops the input up on whitespace and/or double 
  20.         quotes, depending on the user's input, placing the first 
  21.         argument in the first environment variable you supply, 
  22.         the second in the second and so on.  The final 
  23.         environment variable supplied gets the rest of the input 
  24.         string. If only one variable is supplied, it gets all the 
  25.         input.
  26.  
  27.             Read may be used to good effect in pipelines.
  28.  
  29.      EXAMPLE
  30.  
  31.             1. First will contain 'S', while last will contain 'D 
  32.         B'.
  33.  
  34.           Read First Last
  35.           S D B
  36.  
  37.             2. First will contain '"S D B"' while last will be 
  38.         empty.
  39.  
  40.           Read First Last
  41.           "S D B"
  42.